package org.inote.service;

import com.github.pagehelper.PageInfo;
import org.inote.pojo.tablePojo.Comment;
import org.inote.pojo.voPojo.CommentVo;

import java.util.List;

public interface CommentService {

    boolean addComment(Comment comment);

    boolean deleteComment(Integer commentId,Integer noteId);

    PageInfo<CommentVo> queryNoteCommentsByPage(Integer noteId, Integer pageNum);

}
